package com.example.vue20220402.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Power extends MyPage implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "power_id", type = IdType.AUTO)
    private Integer powerId;

    private String powerName;

    private Integer powerParentid;

    /**
     * 1 代表1级菜单 2 代表2级菜单
     */
    private Integer powerIndex;

    private String powerSrc;

    /**
     * 顺序
     */
    private Integer powerOrder;
    @TableField(exist = false)
    private Integer powerParentidval;
    @TableField(exist = false)
    private Integer roleId;

}
